package com.book.service.feign;

import com.book.pojo.com.book.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xuchangshuo
 * @date 2020/10/30 9:28
 */
@FeignClient(name = "book-book")
public interface BookFeign {


     @RequestMapping("/book/findAll")
     public Result findAll();
}
